package com.burgess.net.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 调用方
 */
@FeignClient("feign-service")
@RequestMapping("/feign-service")
public interface FeignServiceClient {

    public Instance getInstanceByServiceId(@PathVariable("serviceId") String serviceId);

}
